package net.lqy.aipan.service;

import net.lqy.aipan.dto.AccountFileDTO;
import net.lqy.aipan.dto.FolderTreeNodeDTO;
import net.lqy.aipan.request.*;

import java.util.List;

public interface AccountFileService {
    /**
     * 创建新文件夹
     *
     * @param request 创建文件夹的请求参数
     * @return
     */
    void createFolder(FolderCreateReq request);

    List<AccountFileDTO> listFile(Long accountId, Long parentId);


    void renameFile(FileRenameReq request);

    List<FolderTreeNodeDTO> folderTree(Long accountId, long folderId);

    List<FolderTreeNodeDTO> folderTreeV2(Long accountId, long folderId);

    void uploadFile(FileUploadReq request);

    void moveBatch(FileBatchReq request);

    void delBatch(FileBatchReq request);

    void copyBatch(FileBatchReq request);

}
